function keyMngt(req, res) {
  const result = {
    dataList: [
      {registerKeyName:"密钥名称1",algorithm:"SM4",beginTime:'2020-09-01 12:00:00',endTime:'2020-09-20 12:00:00',version:'V20200901_1',appName:'4A',keyRule:'密钥规则1',remark:'这是一段描述'},
      {registerKeyName:"密钥名称2",algorithm:"AES",beginTime:'2020-09-01 12:00:00',endTime:'2020-09-20 12:00:00',version:'V20200901_1',appName:'4A',keyRule:'密钥规则1',remark:'这是一段描述'}, 
      {registerKeyName:"密钥名称3",algorithm:"3DES",beginTime:'2020-09-01 12:00:00',endTime:'2020-09-20 12:00:00',version:'V20200901_1',appName:'4A',keyRule:'密钥规则1',remark:'这是一段描述'},
      {registerKeyName:"密钥名称4",algorithm:"RSA",beginTime:'2020-09-01 12:00:00',endTime:'2020-09-20 12:00:00',version:'V20200901_1',appName:'4A',keyRule:'密钥规则1',remark:'这是一段描述'}, 
      {registerKeyName:"密钥名称5",algorithm:"SM2",beginTime:'2020-09-01 12:00:00',endTime:'2020-09-20 12:00:00',version:'V20200901_1',appName:'4A',keyRule:'密钥规则1',remark:'这是一段描述'},
     ],
    pageNum: 0,
    pageSize: 10,
    totalCount: 11,
  };
  return res.json(result);
}


function historyKey(req, res) {
  const result = {
    dataList: [
      {algorithm:"SM4",beginTime:'2020-09-01 12:00:00',endTime:'2020-09-20 12:00:00',version:'V20200901_1',},
      {algorithm:"AES",beginTime:'2020-09-01 12:00:00',endTime:'2020-09-20 12:00:00',version:'V20200901_1',}
     ],
    pageNum: 0,
    pageSize: 10,
    totalCount: 11,
  };
  return res.json(result);
}


export default {
  'POST /api/keyMngt/queryPageList': keyMngt,
  'POST /api/keyMngt/history': historyKey,
  // 'POST /api/myAudit/queryList': myAuditList,
  // 'POST /api/optRecord/queryList': optRecordList,
  // 'POST /api/dowload/queryList': dowloadList,
  // 'POST /api/recycle/queryList': recycleList,

};
